<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <link rel="stylesheet" href="https://cdn.bootcss.com/twitter-bootstrap/4.3.1/css/bootstrap.min.css"/>
    <title>购物车</title>
    <link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container">
    <img src="images/我的购物车---京东商城_03.png" alt="" class="img1">
    <div class="div2">
        <span>全部商品 5</span>
    </div>
    <table class="table table-bordered">
        <thead>
        <tr>
            <th scope="col">商品</th>
            <th scope="col">名称</th>
            <th scope="col">单价</th>
            <th scope="col">数量</th>
            <th scope="col">小计</th>
            <th scope="col">操作</th>
        </tr>
        </thead>
        <tbody id="table">
        <tr>
            <th scope="row"><img src="images/我的购物车---京东商城_07.png"></th>
            <td>
                <a href="">
                    <img src="images/2019-09-11_082129.png" alt=""><img src="images/2019-09-11_082147.png" alt="">美伦达 赣南脐橙2017新上市 3斤装 铂金果
                </a>
                <a href="">颜色：赣南脐橙铂金果 3斤装</a>
            </td>
            <td>¥<span class="price">25.80</span></td>
            <td>
                <input type="text" value="1" class="num">
            </td>
            <td>
                ¥<span class="total"></span>
                <br>
                1.68kg
            </td>
            <td>
                <span class="del">删除</span>
            </td>
        </tr>

        <tr>
            <th scope="row"><img src="images/我的购物车---京东商城_10.png"></th>
            <td>
                <a href="">
                    <img src="images/2019-09-11_082147.png" alt="">Camposol 秘鲁进口精选蓝莓 4盒装 单盒约125g新鲜水果
                </a>
                <a href="">颜色：秘鲁蓝莓 4盒装</a>
            </td>
            <td>¥<span class="price">46.90</span></td>
            <td>
                <input type="text" value="1" class="num">
            </td>
            <td>
                ¥<span class="total"></span>
                <br>
                1.25kg
            </td>
            <td>
                <span class="del">删除</span>
            </td>
        </tr>

        <tr>
            <th scope="row"><img src="images/2019-09-11_081955.png"></th>
            <td>
                <a href="">
                    <img src="images/2019-09-11_082147.png" alt="">欢乐果园 广西青皮芒果2个装 单果约260g以上新鲜水果
                </a>
                <a href=""> 颜色：青皮芒 2粒尝鲜装</a>
            </td>
            <td>¥<span class="price">10.90</span></td>
            <td>
                <input type="text" value="1" class="num">
            </td>
            <td>
                ¥<span class="total"></span>
                <br>
                0.75kg
            </td>
            <td>
                <span class="del">删除</span>
            </td>
        </tr>

        <tr>
            <th scope="row"><img src="images/2019-09-11_082021.png"></th>
            <td>
                <a href="">
                    <img src="images/2019-09-11_082147.png" alt="">爱奇果 新疆库尔勒香梨 约2.5kg当季新果 特级装 单果约120
                </a>
                <a href="">颜色：2.5kg单果约120-150g</a>
            </td>
            <td>¥<span class="price">39.90</span></td>
            <td>
                <input type="text" value="1" class="num">
            </td>
            <td>
                ¥<span class="total"></span>
                <br>
                2.6kg
            </td>
            <td>
                <span class="del">删除</span>
            </td>
        </tr>

        <tr>
            <th scope="row"><img src="images/2019-09-11_082043.png"></th>
            <td>
                <a href="">
                    <img src="images/2019-09-11_082147.png" alt="">宏辉果蔬 苹果 烟台红富士12个人 单果约75mm总重2.1kg新鲜
                </a>
                <a href="">颜色：12粒75mm红富士</a>
            </td>
            <td>¥<span class="price">34.90</span></td>
            <td>
                <input type="text" value="1" class="num">
            </td>
            <td>
                ¥<span class="total"></span>
                <br>
                2.1kg
            </td>
            <td>
                <span class="del">删除</span>
            </td>
        </tr>
        </tbody>
    </table>
    <div class="div1">
        <div>总价：¥<span id="all"></span></div>
    </div>

</div>
<script src="script.js"></script>
</body>
</html>